package com.example.electricbicycle.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ReportDAO {
    // 按业务员统计进车订单
    List<Map<String, Object>> getPurchaseStatsByUser(Date startDate, Date endDate);

    // 按时间统计进车订单
    List<Map<String, Object>> getPurchaseStatsByTime(Date startDate, Date endDate);

    // 按销售员统计销售订单
    List<Map<String, Object>> getSaleStatsByUser(Date startDate, Date endDate);

    // 按时间统计销售订单
    List<Map<String, Object>> getSaleStatsByTime(Date startDate, Date endDate);

    // 按售后人员统计售后订单
    List<Map<String, Object>> getAfterSaleStatsByUser(Date startDate, Date endDate);

    // 按时间统计售后订单
    List<Map<String, Object>> getAfterSaleStatsByTime(Date startDate, Date endDate);
}